//
//  FPBaseProtocolView.h
//  FinanceProject
//
//  Created by 陈显摆 on 2025/5/14.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface FPBaseProtocolView : UIView

/// 显示弹窗，内部使用 FPContentView，自带动画
+ (void)showWithText:(NSArray *)protocolSource onAction:(void (^)(NSUInteger index))actionBlock protocolDidSelectAction:(void (^)(FPProtocolModel *model))protocolDidSelectAction;

/// 手动关闭弹窗
+ (void)hide;

@end

NS_ASSUME_NONNULL_END
